import { axios } from '@/utils/request'

/**
 * 查询房间表
 *
 * @author anti
 * @date 2021-04-16 19:14:02
 */
export function busRoomPage (parameter) {
  return axios({
    url: '/busRoom/page',
    method: 'get',
    params: parameter
  })
}

/**
 * 房间表列表
 *
 * @author anti
 * @date 2021-04-16 19:14:02
 */
export function busRoomList (parameter) {
  return axios({
    url: '/busRoom/list',
    method: 'get',
    params: parameter
  })
}

/**
 * 房间表列表
 *
 * @author anti
 * @date 2021-04-16 19:14:02
 */
 export function busRoomById (parameter) {
  return axios({
    url: '/busRoom/detail',
    method: 'get',
    params: parameter
  })
}

/**
 * 添加房间表
 *
 * @author anti
 * @date 2021-04-16 19:14:02
 */
export function busRoomAdd (parameter) {
  return axios({
    url: '/busRoom/add',
    method: 'post',
    data: parameter
  })
}

/**
 * 编辑房间表
 *
 * @author anti
 * @date 2021-04-16 19:14:02
 */
export function busRoomEdit (parameter) {
  return axios({
    url: '/busRoom/edit',
    method: 'post',
    data: parameter
  })
}

/**
 * 删除房间表
 *
 * @author anti
 * @date 2021-04-16 19:14:02
 */
export function busRoomDelete (parameter) {
  return axios({
    url: '/busRoom/delete',
    method: 'post',
    data: parameter
  })
}
